<div class="module-item basic-info">
  <div class="edit" style="">
    <div class="module-name">基本信息</div>
    <div class="content-box">
      <div class="content">
        <div class="name">
          <span>职位名称</span>
          <input type="text" maxlength="15" [(ngModel)]="position.name" class="">
        </div>
        <div class="name">
          <span>岗位职责</span>
          <ckeditor [(ngModel)]="position.duty" debounce="500"  [config]=""></ckeditor>
        </div>
        <div class="name">
          <span>任职资格</span>
          <ckeditor [(ngModel)]="position.ability" debounce="500"  [config]=""></ckeditor>
        </div>
        <div class="name">
          <span>薪资范围</span>
          <input class="salary" [(ngModel)]="position.salary1" placeholder="薪资起"> -
          <input class="salary" [(ngModel)]="position.salary2" placeholder="薪资止">
        </div>
      </div>
    </div>
    <div class="btn-box">
      <div class="confirm" (click)="addPosition()" *ngIf="!isEdit">新增</div>
      <div class="confirm" (click)="editPosition()" *ngIf="isEdit">保存</div>
    </div>
  </div>
</div>
